package org.spamforces.web.frame;

import org.spamforces.model.User;

/**
 * @author Mike Mirzayanov
 */
public class Header extends ApplicationFrame {
    @Override
    public void initializeAction() {
        super.initializeAction();

        addCss("header.css");
    }

    @Override
    public void action() {
        User user = getUser();

        if (user != null) {
            put("user", user);
        }
    }
}
